package models;

import java.util.Date;
import java.util.List;

import javax.persistence.Entity;
import javax.persistence.ManyToMany;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;

import org.hibernate.annotations.ManyToAny;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
public class Uv extends Model{

	@Required
	public String nom;

	public double dureeEpreuve;

	public Uv(String nom, double dureeEpreuve){
		this.nom=nom;
		this.dureeEpreuve=dureeEpreuve;
	}

	public String toString(){
		return this.nom;
	}

}
